package the.workshop.bu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

@Data
@TableName("bu_product_rule")
public class ProductRule extends SuperEntity {
    private static final long serialVersionUID = -242277608983398346L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer productId;

    private String ruleId;
}
